package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomainExcludeId;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;


/**
 * 
 * 医疗临床路径病人信息
 * @author : jackson wang
 * @Date   : 2016年1月26日 上午10:01:07
 * @version: 1.0
 * 
 */
@Entity
@Table(name=ConstSysParam.MODULE_PATHWAY_PATIENT)
public class MedicalPathwayPatient extends BaseDomainExcludeId implements BaseDomainInf {

	/*
	 * 主键
	 */
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="MedicalPathwayPatientGenerator")
	@TableGenerator(name="MedicalPathwayPatientGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_PATHWAY_PATIENT,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id; 
	
	@Override
	public Long getId() {
		// TODO Auto-generated method stub
		return this.id;
	}


	@Override
	public void setId(Long id) {
		// TODO Auto-generated method stub
		this.id = id;
	}
	
	/*
	 * 患者
	 */
	 private Long paient_id;//住院号
	 private String  patient_name;//患者姓名
	 
	 /*
	  * 病种
	  */
	private Long disease_id;
	private String disease_name;
		
	/*
	 * 入院日期
	 */
	
	private String inpatientDate;
	
	 /*
	  * 住院天数
	  */
	 
	private Long hospitalization_day;
	
	/*
	 * 术前住院天数
	 */
	private Long before_day;
	
	/*
	 * 是否完成（1\0)
	 */
	
	private String finish_status;
	
	
	/*
	 * 转归（、、）
	 */
	private String turbinate;
	
	/*
	 * 好转
	 */
	private String turbiTurnBetter;
	
	/*
	 * 治愈
	 */
	private String turbiCure;
	
	/*
	 * 死亡
	 */
	private String turbiDied;
	
	
	/*
	 * 医院感染（1\0)
	 */
	private String hospital_infection;
	
	/*
	 * 手术部分感染(1\0)
	 */
	private String surgery_infection;
	/*
	 * 14天再住院（1\0)
	 */
	
	private String hospitalized14;
	
	/*
	 * 30天再住院
	 */
	private String hospitalized30;
	
	/*
	 * 非计划重返手术（1\0)
	 */
	private String unplanned_surgery;
	
	/*
	 * 并发症状（1\0)
	 */
	
	private String  complication ;
	
	/*
	 * 是否变异（1\0)
	 */
	
	private String  variation ;
	
	/*
	 * 管床医师
	 */
	private String doctor;

	public Long getPaient_id() {
		return paient_id;
	}


	public void setPaient_id(Long paient_id) {
		this.paient_id = paient_id;
	}


	public String getPatient_name() {
		return patient_name;
	}


	public void setPatient_name(String patient_name) {
		this.patient_name = patient_name;
	}


	public Long getDisease_id() {
		return disease_id;
	}


	public void setDisease_id(Long disease_id) {
		this.disease_id = disease_id;
	}


	public String getDisease_name() {
		return disease_name;
	}


	public void setDisease_name(String disease_name) {
		this.disease_name = disease_name;
	}


	public String getInpatientDate() {
		return inpatientDate;
	}


	public void setInpatientDate(String inpatientDate) {
		this.inpatientDate = inpatientDate;
	}


	public Long getHospitalization_day() {
		return hospitalization_day;
	}


	public void setHospitalization_day(Long hospitalization_day) {
		this.hospitalization_day = hospitalization_day;
	}


	public Long getBefore_day() {
		return before_day;
	}


	public void setBefore_day(Long before_day) {
		this.before_day = before_day;
	}


	public String getFinish_status() {
		return finish_status;
	}


	public void setFinish_status(String finish_status) {
		this.finish_status = finish_status;
	}


	public String getTurbinate() {
		return turbinate;
	}


	public void setTurbinate(String turbinate) {
		this.turbinate = turbinate;
	}


	public String getTurbiTurnBetter() {
		return turbiTurnBetter;
	}


	public void setTurbiTurnBetter(String turbiTurnBetter) {
		this.turbiTurnBetter = turbiTurnBetter;
	}


	public String getTurbiCure() {
		return turbiCure;
	}


	public void setTurbiCure(String turbiCure) {
		this.turbiCure = turbiCure;
	}


	public String getTurbiDied() {
		return turbiDied;
	}


	public void setTurbiDied(String turbiDied) {
		this.turbiDied = turbiDied;
	}


	public String getHospital_infection() {
		return hospital_infection;
	}


	public void setHospital_infection(String hospital_infection) {
		this.hospital_infection = hospital_infection;
	}


	public String getSurgery_infection() {
		return surgery_infection;
	}


	public void setSurgery_infection(String surgery_infection) {
		this.surgery_infection = surgery_infection;
	}


	public String getHospitalized14() {
		return hospitalized14;
	}


	public void setHospitalized14(String hospitalized14) {
		this.hospitalized14 = hospitalized14;
	}


	public String getHospitalized30() {
		return hospitalized30;
	}


	public void setHospitalized30(String hospitalized30) {
		this.hospitalized30 = hospitalized30;
	}


	public String getUnplanned_surgery() {
		return unplanned_surgery;
	}


	public void setUnplanned_surgery(String unplanned_surgery) {
		this.unplanned_surgery = unplanned_surgery;
	}


	public String getComplication() {
		return complication;
	}


	public void setComplication(String complication) {
		this.complication = complication;
	}


	public String getVariation() {
		return variation;
	}


	public void setVariation(String variation) {
		this.variation = variation;
	}


	public String getDoctor() {
		return doctor;
	}


	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}

	
}
